import time


def run_time(func):
    def wrapper(*args, **kwargs):
        start_time = time.time()
        result = func(*args, **kwargs)
        end_time = time.time()
        print(f"函数装饰器，统计耗时:{end_time - start_time}")

        return result
    return wrapper
